import request from '@/utils/request'

// 查询考核评委组人员列表
export function listInspectionMembers(query) {
  return request({
    url: '/workSafetyStandardization/InspectionMembers/list',
    method: 'get',
    params: query
  })
}

// 查询考核评委组人员详细
export function getInspectionMembers(inspectionMemberId) {
  return request({
    url: '/workSafetyStandardization/InspectionMembers/' + inspectionMemberId,
    method: 'get'
  })
}

// 新增考核评委组人员
export function addInspectionMembers(data) {
  return request({
    url: '/workSafetyStandardization/InspectionMembers',
    method: 'post',
    data: data
  })
}

// 修改考核评委组人员
export function updateInspectionMembers(data) {
  return request({
    url: '/workSafetyStandardization/InspectionMembers',
    method: 'put',
    data: data
  })
}

// 删除考核评委组人员
export function delInspectionMembers(inspectionMemberId) {
  return request({
    url: '/workSafetyStandardization/InspectionMembers/' + inspectionMemberId,
    method: 'delete'
  })
}
